package headfirst.command.AudioPlayer;

/**
 * @author lxiaol
 * @date 2021年07月05日 18:58
 */
public class Invoker {

    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action() {
        command.execute();
    }
}
